# =============================================================================
# FURRYOS MASTER BUILD CONFIGURATION (v7.0 RC1)
# =============================================================================
meta:
  project_name: "FurryOS"
  creator: "Anthro Entertainment LLC"
  author: "Thomas B. Sweet"
  version: "7.0.0-RC1"
  base_os: "Debian 12 (Bookworm)"
  architecture: ["x86_64", "aarch64"]
  timestamp: 2025-12-29 23:00:38.142219 UTC
  license: "MIT"

# -----------------------------------------------------------------------------
# SOURCE TREE MAPPING (Reference: TREE.txt)
# -----------------------------------------------------------------------------
paths:
  root: "/TOP"
  source_dir: "/TOP/sourcecode/src"
  assets_7z: "/assets/AnthroHeart_Assets_Bitcoin_Blockchain_Block_929481.7z"
  iso_source: "/assets/debian-12.12.0-amd64-netinst.iso"
  output_bin: "heartbeat_core"
  venv_name: "FurryOS_venv"

# -----------------------------------------------------------------------------
# COMPILER & LANGUAGE SETTINGS
# -----------------------------------------------------------------------------
build:
  language: "C++20"
  compiler: "g++-14"
  flags: "-O3 -march=native -flto -Wall -Wno-unused-result -pthread"
  static_link: true
  use_makefiles: false # STRICT: Do not use Makefiles.
  use_unity_build: true # Compile all modules via main.cpp for speed

# -----------------------------------------------------------------------------
# PYTHON POLICY (PAIN POINT REMOVAL)
# -----------------------------------------------------------------------------
python_policy:
  symlink_python_to_python3: true
  allow_global_pip: true # Removes PEP 668 restriction file
  install_python2_legacy: true
  default_venv_path: "/opt/furryos/venv"

# -----------------------------------------------------------------------------
# MODULE DEFINITIONS (Instructions for AI Code Generation)
# -----------------------------------------------------------------------------
modules:
  - name: "security.cpp"
    features:
      - "LUKS2 Vault Creation (AES-256-XTS)"
      - "Ed25519 Digital Signing"
      - "Bitcoin Block 929481 Hash Verification"

  - name: "network.cpp"
    features:
      - "FoxServe (Single-header HTTP Server)"
      - "WiFi Kernel Tuning (BBR + Buffer resizing)"
      - "Migration Tool (Rsync/SSHPass wrapper)"

  - name: "instinct.cpp"
    features:
      - "Furry BASIC Compiler (Transpiles .fur to C++)"
      - "AI Storyteller (RAG via Gemini API if key present)"
      - "One-Liner IDE Mode"

  - name: "maintenance.cpp"
    features:
      - "The Housekeeper (Apt/Flatpak/FWUPD Aggregator)"
      - "Driver Omni-Install (non-free-firmware)"
      - "Input Fixes (Disable Sticky Keys)"
      - "Resolution Toggle (Safe/4K)"

  - name: "ui.cpp"
    features:
      - "TUI Dashboard (Blue background)"
      - "AnthroSession (F1-F12 Multiplexer)"
      - "Metrics HUD (ASCII Bars)"
      - "Omni-Indexer (Recursive File Search)"

# -----------------------------------------------------------------------------
# BUILD-TIME AI AUDIT SETTINGS
# -----------------------------------------------------------------------------
audit:
  model: "Gemini 3 Pro"
  tasks:
    - "Scan for Memory Leaks"
    - "Verify Sovereign Permission Logic (No sudo for user files)"
    - "Generate PDF Documentation from Assets"
  api_key_path: "/TOP/Gemini_API.key"
  sanitize_key_after_build: true
